package com.leminhtrinh.mycash.model;

public class CashTransaction {
	private long id;
	private double value;
	private long category_id;
	private long acc_id;
	private String partner;
	private String description;
	private int inOutValue;
	private int year;
	private int month;
	private int day;
	private int weekOfYear;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}

	public long getCategory_id() {
		return category_id;
	}

	public void setCategory_id(long category_id) {
		this.category_id = category_id;
	}

	public long getAcc_id() {
		return acc_id;
	}

	public void setAcc_id(long acc_id) {
		this.acc_id = acc_id;
	}

	public String getPartner() {
		return partner;
	}

	public void setPartner(String partner) {
		this.partner = partner;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getInOutValue() {
		return inOutValue;
	}

	public void setInOutValue(int inOutValue) {
		this.inOutValue = inOutValue;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public int getDay() {
		return day;
	}

	public void setDay(int day) {
		this.day = day;
	}

	public int getWeekOfYear() {
		return weekOfYear;
	}

	public void setWeekOfYear(int weekOfYear) {
		this.weekOfYear = weekOfYear;
	}

	@Override
	public String toString() {
		return "CashTransaction [id=" + id + ", value=" + value
				+ ", category_id=" + category_id + ", partner=" + partner
				+ ", description=" + description + ", inOutValue=" + inOutValue
				+ ", year=" + year + ", month=" + month + ", day=" + day
				+ ", weekOfYear=" + weekOfYear + "]";
	}
}
